package com.example.javabasic.shejimoshi.celve.demo2;
//具体策略A
public class ConcreteStrategyA implements Strategy {
    public ConcreteStrategyA(){
        StrategyFactory.set("a",this);
    }
    @Override
    public void strategyMethod() {
        System.out.println("具体策略A方法");
    }
}
